

package com.soso.base.google.mq;

import java.io.Serializable;
import java.util.Map;

/**
 * 
 * @author speed
 *
 */
@SuppressWarnings("serial")
public abstract class AbstractMessage implements Message, Serializable {

	private String topic;
	private QueueName queueName;
	private String commandClassName;
	private String method;
	private String queuePath;
	private Map<String, String> headers;
	
	public Map<String, String> getHeaders() {
		return headers;
	}

	public void setHeaders(Map<String, String> headers) {
		this.headers = headers;
	}

	public String getQueuePath() {
		return queuePath;
	}

	public void setQueuePath(String queuePath) {
		this.queuePath = queuePath;
	}

	public String getMethod() {
		return method;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	public String getTopic() {
		return topic;
	}

	public void setTopic(String topic) {
		this.topic = topic;
	}

	public QueueName getQueueName() {
		return queueName;
	}

	public void setQueueName(QueueName queueName) {
		this.queueName = queueName;
	}

	public String getCommandClassName() {
		return commandClassName;
	}

	public void setCommandClassName(String commandClassName) {
		this.commandClassName = commandClassName;
	}
	
}
